package com.hl.card.common.persistence.model;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 社区管理员
 * 
 * @author 袁伟
 *
 */
public class CommunityUser {
	private Integer id;
	private String user_id; // 用户ID
	private Integer invite_user_max_count; // 邀请上限数
	private Integer user_count;  //邀请用户数
	private Integer htl_count; //累计奖励HTL
	private Integer status; // 状态 0启用 1禁用
	private String account;
	private String phone;
	private String community_code;  //社区编号
	private Integer auth_count; 

	public Integer getAuth_count() {
		return auth_count;
	}

	public void setAuth_count(Integer auth_count) {
		this.auth_count = auth_count;
	}

	public String getCommunity_code() {
		return community_code;
	}

	public void setCommunity_code(String community_code) {
		this.community_code = community_code;
	}

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	public Date getAdd_time() {
		return add_time;
	}

	public void setAdd_time(Date add_time) {
		this.add_time = add_time;
	}

	private Date add_time; //添加时间
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	private Integer two_user_count; //二级邀请用户数
	public Integer getTwo_user_count() {
		return two_user_count;
	}

	public void setTwo_user_count(Integer two_user_count) {
		this.two_user_count = two_user_count;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public Integer getUser_count() {
		return user_count;
	}

	public void setUser_count(Integer user_count) {
		this.user_count = user_count;
	}

	public Integer getHtl_count() {
		return htl_count;
	}

	public void setHtl_count(Integer htl_count) {
		this.htl_count = htl_count;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public Integer getInvite_user_max_count() {
		return invite_user_max_count;
	}

	public void setInvite_user_max_count(Integer invite_user_max_count) {
		this.invite_user_max_count = invite_user_max_count;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
